package com.tarena.lbs.user.service;

import com.tarena.lbs.base.protocol.exception.BusinessException;
import com.tarena.lbs.base.protocol.pager.PageResult;
import com.tarena.lbs.user.pojo.param.AdminParam;
import com.tarena.lbs.user.pojo.query.AdminQuery;
import com.tarena.lbs.user.pojo.vo.AdminVO;

public interface AdminService {
    /**
     * 保存管理员账号
     * @param param 管理员参数
     * @throws BusinessException 业务异常
     */
    void save(AdminParam param) throws BusinessException;

    AdminVO getAdminDetail() throws BusinessException;

    PageResult<AdminVO> AdminPageList(AdminQuery query);

}



















